]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Remove unused argument
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 26 Feb 2021 13:36:35 +0000 (14:36 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 12 Mar 2021 15:56:12 +0000 (15:56 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1728>

js/ui/keyboard.js

index ddec8b3aed6c15cfa062472f77ab8fa54259287c..9e9a66fc6e7db48db7bd5451eb1633d3db9767d2 100644 (file)
@@ -1824,7 +1824,7 @@ var Keyboard = GObject.registerClass({
         keyboardBox.queue_relayout();
     }
 
-    _animateHide(immediate) {
+    _animateHide() {
         if (this._focusWindow)
             this._animateWindow(this._focusWindow, false);
 
@@ -1835,7 +1835,7 @@ var Keyboard = GObject.registerClass({
         this.ease({
             translation_y: 0,
             opacity: 0,
-            duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
+            duration: KEYBOARD_ANIMATION_TIME,
             mode: Clutter.AnimationMode.EASE_IN_QUAD,
             onComplete: () => {
                 this._animateHideComplete();